<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
    <head>
        <title><s:text name="Controller.message"/></title>
        <link rel="stylesheet" type="text/css" href="<s:url value="/css/style.css"/>"/> 
    </head>
    <body>
        <div class="body">
            <s:include value="header.jsp" />
            <s:if test="%{#session.user != null}" >
                <div class="search">
                    <s:form action="postQuestion">
                        <textarea cols="50" rows="3" name="contentQuestion" > </textarea>
                        <input type="submit" value="Đăng câu hỏi" class="search_submit" />
                    </s:form>
                </div>    
            </s:if>
            <div class="search">
                <s:action name="newquestion" executeResult="true" />   
            </div>
        </div>
    </body>
</html>

